<div id="accordion"  class="basic">
    <?php foreach ($this->extensions as $key => $extension){?>
        <div>
           <h3><a href="#"><?php echo $key ?></a></h3>
            <div  class="extension">
                <ul>
                <?php foreach($extension as $names){?>
                    
                       <li>
                           <div><img src="/zfarm/public/zfarm/extensions/<?php echo $names[0]?>/images/<?php echo $names[1]?>" /></div>
                           <div><?php echo $names[2]?></div>
                       </li>
                    
                <?php } ?>
                       </ul>
            </div>
        </div>
    <?php } ?>
</div>